/*
 * prerequisites.h
 *
 *  Created on: Jan 12, 2011
 *      Author: dima
 */

#ifndef PREREQUISITES_H_
#define PREREQUISITES_H_



#define GL_GLEXT_PROTOTYPES

#include <stdio.h>
#define ERROR(...) printf(__VA_ARGS__)



#include <SDL/SDL.h>
#include <SDL/SDL_opengl.h>



/*
#include "util.h"
#include "threadsafetype.h"
#include "memorymanager.h"
#include "platform.h"
#include "resourcemanager.h"
#include "texturemanager.h"
#include "renderer.h"
*/

struct GeometryBuffer;

class Engine;
class Platform;
class ResourceManager;
class TextureManager;
class Renderer;
struct Material;
struct MaterialData;
struct GeometryBuffer;


extern Engine* gEngine;
extern ResourceManager* gResourceManager;
extern Platform* gPlatform;
extern TextureManager* gTextureManager;
extern Renderer* gRenderer;


#endif /* PREREQUISITES_H_ */
